package com.lemon.ai.socket.packets.spiritgame.model.generator;

public class DbUtilsGenerator extends AbstractGenerator {

	public DbUtilsGenerator() {
		super("DbUtilsTemp.txt");
	}

	public String generate() {
		return super.temp.
				replace("PACKAGE_NAME", super.prop.getProperty("package"));
	}

	public String generateFileName() {
		return super.prop.getProperty("dir")
				+ super.prop.getProperty("package").replace(".", "\\")
				+ "\\utils\\" + "DbUtils.java";
	}

	public static void main(String[] args) {
		DbUtilsGenerator g = new DbUtilsGenerator();
		System.out.println(g.generate());
	}

}
